# This is a reference for the cbuild configuration file.
# Every value specified here is the system's default.

# options related to your host apk
[apk]
# the apk command to use
# must not be a static binary
# also overridden by environment variable CBUILD_APK_PATH
command = apk

# options related to building packages
[build]
# whether -dbg packages will be generated
build_dbg = yes
# default build root path (absolute or relative to cports)
build_root = bldroot
# default builddir path inside bldroot (absolute or relative to cports)
# will be the default inside bldroot if empty (no separate directory)
build_dir =
# whether ccache will be used in the build
ccache = no
# default path where all caches are stored (absolute or relative to cports)
cbuild_cache_path = cbuild_cache
# whether to run check phase
check = yes
# whether checks are allowed to fail (by default they will abort build)
check_fail = no
# number of jobs to use when building; all available threads by default
jobs = 0
# number of linker threads to use; jobs by default
link_threads = 0
# default local repository path for packages (absolute or relative to cports)
repository = packages
# packages will be staged to this directory (before being migrated)
stage_repository = pkgstage
# alternative repository path, will be used instead of repository but deps
# will be found in both the main repository and the alternative repo path
#alt_repository = testpkgs
# default source distfiles path (absolute or relative to cports)
sources = sources
# if set to yes, you will always have to explicitly unstage the repos
keep_stage = no
# whether to attempt using remote repositories (if available)
remote = yes

# flags passed to tools
[flags]
# default user C compiler flags
CFLAGS = -O2
# default user C++ compiler flags
CXXFLAGS = -O2
# default user Fortran compiler flags
FFLAGS = -O2
# default user linker flags
LDFLAGS =

# options related to signing packages
[signing]
# signing key name (in etc/keys) or path (absolute or relative to cports)
key = your_private_key.rsa
